﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CMN.Entity
{
      ///<summary>
    ///Sys_EventEntity实体类(系统日记表)
    ///</summary>
    [Serializable]
    public partial class Sys_EventEntity
    {
        #region "Private Variables"
        private DataTableAction _DataTable_Action_;  // 操作方法 Insert:增加 Update:修改 Delete:删除
        private Int32 _EventID=0; // 事件ID号
        private String _E_U_LoginName=""; // 用户名
        private Int32 _E_UserID=0; // 操作时用户ID与sys_Users中UserID
        private DateTime _E_DateTime=DateTime.Now; // 事件发生的日期及时间
        private String _E_M_Name=""; // PageCode模块名称与sys_Module相同
        private String _E_M_PageCode=""; // 发生事件时模块名称
        private String _E_From=""; // 来源
        private Byte _E_Type=0; // 日记类型,1:操作日记2:安全日志3
        private String _E_IP=""; // 客户端IP地址
        private String _E_Record=""; // 详细描述
        private String _E_M_Action=""; // 记录事件
        #endregion

        #region "Public Variables"
        ///<summary>
        /// 操作方法 Insert:增加 Update:修改 Delete:删除
        ///</summary>
        public DataTableAction DataTable_Action
        {
            set { this._DataTable_Action_ = value; }
            get { return this._DataTable_Action_; }
        }
        /// <summary>
        /// 事件ID号
        /// </summary>
        public Int32  EventID
        {
            set { this._EventID = value; }
            get { return this._EventID; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public String  E_U_LoginName
        {
            set { this._E_U_LoginName = value; }
            get { return this._E_U_LoginName; }
        }
        /// <summary>
        /// 操作时用户ID与sys_Users中UserID
        /// </summary>
        public Int32  E_UserID
        {
            set { this._E_UserID = value; }
            get { return this._E_UserID; }
        }
        /// <summary>
        /// 事件发生的日期及时间
        /// </summary>
        public DateTime  E_DateTime
        {
            set { this._E_DateTime = value; }
            get { return this._E_DateTime; }
        }
        /// <summary>
        /// PageCode模块名称与sys_Module相同
        /// </summary>
        public String  E_M_Name
        {
            set { this._E_M_Name = value; }
            get { return this._E_M_Name; }
        }
        /// <summary>
        /// 发生事件时模块名称
        /// </summary>
        public String  E_M_PageCode
        {
            set { this._E_M_PageCode = value; }
            get { return this._E_M_PageCode; }
        }
        /// <summary>
        /// 来源
        /// </summary>
        public String  E_From
        {
            set { this._E_From = value; }
            get { return this._E_From; }
        }
        /// <summary>
        /// 日记类型,1:操作日记2:安全日志3
        /// </summary>
        public Byte  E_Type
        {
            set { this._E_Type = value; }
            get { return this._E_Type; }
        }
        /// <summary>
        /// 客户端IP地址
        /// </summary>
        public String  E_IP
        {
            set { this._E_IP = value; }
            get { return this._E_IP; }
        }
        /// <summary>
        /// 详细描述
        /// </summary>
        public String  E_Record
        {
            set { this._E_Record = value; }
            get { return this._E_Record; }
        }
        /// <summary>
        /// 记录事件
        /// </summary>
        public String  E_M_Action
        {
            set { this._E_M_Action = value; }
            get { return this._E_M_Action; }
        }
        #endregion
    }
}
